prompt = "\nTell me something, and I'll repeat it back to you: "
prompt += "\nEnter 'quit' to end the program. "

active = False
message = ''
while message != 'quit':
    message = input(prompt)

    if message == 'quit':
        active = True
    else:
        print(message)